<?php

class Default_Model_Resource extends Zend_Db_Table_Abstract
{
    protected $_name = 'resource';
    public function getAllData(){
        $query = $this->select()
                        ->from($this->_name, array('resourceId','resourceName','moduleName','controllerName','actionName','menu'));
        return $this->fetchAll($query);
    }
}